#ifndef REGISTERWIDGET_H
#define REGISTERWIDGET_H

#include <QWidget>
#include "sqlitemanage.h"
#include <QFile>
#include <QDebug>
#include <QTimer>
#include <QThread>
#include "logclass.h"

namespace Ui {
class RegisterWidget;
}

class RegisterWidget : public QWidget
{
    Q_OBJECT

public:
    explicit RegisterWidget(QWidget *parent = nullptr);
    ~RegisterWidget();
    void loadStyleSheet(const QString &CssPath);

signals:
    void sendMessage(QString s);
    void selectStackWidget(int);

public slots:
    void onRegister();


private:
    Ui::RegisterWidget *ui;
    QString UserName;
    QString PassWord;
    QString UserPhone;
    QString UserEmail;
    SqliteManage registerSqlOperator;
};

#endif // REGISTERWIDGET_H
